Imagine an apple at the left edge of a table. The goal is to make sure that samples on the surface of the table at the right are not used too close to the apple and definitely not underneath the apple. If you had enough rays there wouldn't be a problem since one of them would be guaranteed to hit the apple and set the reuse radius properly for you. In practice, you must limit this.
We use this technique: find the object in your scene which might have the following problem: a small object on a larger flatter surface that you want good ambient light near. Now, how far from this would you have to get to be sure that one of your rays had a good chance of hitting it? In the apple-on-the-table example, assuming I used one POV-Ray unit as one inch, I might use 30 inches. A theoretically sound way (when you are running lots of rays) is the distance at which this object's top is 5 degrees above the horizon of the sample point you are considering. This corresponds to about 11 times the height of the object. So, for a 3-inch apple, 33 inches makes some sense. For good behavior under and around a 1/3 inch pea, use 3 inches etc. Another VERY rough estimate is one third the distance from your eye position to the point you are looking at. The reasoning is that you are probably no more than 90 inches from the apple on the table, if you care about the shading underneath it.
The default value is 0.
The default value is 0.4.
The default value is 0.5
The default value is 0.8.
Remember that this is a unitless ratio.
The default value is 0.015.
The default value is 6.
The default value is 1.
One way to get extra smooth results: crank up the sample count (we've gone as high as 1300) and drop the low_error_factor to something small like 0.6. Bump up the reuse_count to 7 or 8. This will get better values, and more of them, then interpolate among more of them on the last pass. This is not for people with a lack of patience since it is like a squared function. If your blotchiness is only in certain corners or near certain objects try tuning the error bound instead. Never drop it by more than a little at a time, since the run time will get very long.
If your scene looks good but right near some objects you get spots of the right (usually darker) color showing on a flat surface of the wrong color (same as far away from the object), then try dropping reuse_dist_max. If that still doesn't work well increase your ray count by 100 and drop the error bound just a bit. If you still have problems, drop reuse_nearest_count to about 4.
Before you use this program you have to read the sections below.
This document pertains to the use and distribution of the Persistence of Vision(tm) Ray-Tracer a. k. a POV-Ray(tm). It applies to all POV-Ray program source files, executable (binary) files, scene files, documentation files, help file, bitmaps and INI files contained in official POV-Ray Team(tm) archives. All of these are referred to here as the software.
All of this software is Copyright 1991,1997 by the POV-Ray Team(tm). Although it is distributed as freeware, it is NOT Public Domain.
The copyrighted package may ONLY be distributed and/or modified according to the license granted herein. The spirit of the license is to promote POV-Ray as a standard ray-tracer, provide the full POV-Ray package freely to as many users as possible, prevent POV-Ray users and developers from being taken advantage of, enhance the life quality of those who come in contact with POV-Ray. This license was created so these goals could be realized. You are legally bound to follow these rules, but we hope you will follow them as a matter of ethics, rather than fear of litigation.
The user is also granted the right to use the scenes files, fonts, bitmaps, and include files distributed in the include, texsamps and pov3demo sub- directories in their own scenes. Such permission does not extend to files in the povscn sub-directory. povscn files are for your enjoyment and education but may not be the basis of any derivative works.
These archives must not be re-archived using a different method without the explicit permission of the POV-Team. You may rename the archives only to meet the file name conventions of your system or to avoid file name duplications but we ask that you try to keep file names as similar to the originals as possible (for example: povsrc.zip to povsrc30.zip)
Ready-to-run unarchived distribution on CD-ROM is also permitted if the files are arranged in our standard directory or folder structure as though it had been properly installed on a hard disk.
You must distribute a full package of files as described in the next section. No portion of this package may be separated from the package and distributed separately other than under the conditions specified in the provisions given below.
Non-commercial distribution in which no money or compensation is charged (such as a user copying the software for a personal friend or colleague) is permitted with no other restrictions.
Teachers and educational institutions may also distribute the material to students and may charge minimal copying costs if the software is to be used in a course.
1) End user executable archives containing an executable program, documentation, and sample scenes but no source.
- or -
2) Programmer archives containing full source code but no executable. Also you must include an archive containing documentation, and sample scenes. On some platforms, the documentation and sample scenes are archived separately from the source. Source alone is not sufficient. You must have docs and scenes.
POV-Ray is officially distributed for MS-Dos; Windows 32-bit; Linux for Intel x86 series; Apple Macintosh; Apple PowerPC; SunOS; and Amiga. Other systems may be added in the future.
Distributors need not support all platforms but for each platform you support you must distribute a full package. For example a Macintosh only BBS need not distribute the Windows versions.
This software may only be bundled with other software packages according to the conditions specified in the provisions below.
{/HEADER 1 Conditions for Shareware/Freeware Distribution Companies/}
Shareware and freeware distribution companies may distribute the software included in software-only compilations using media such as, but not limited to, floppy disk, CD-ROM, tape backup, optical disks, hard disks, or memory cards. This section only applies to distributors of collected programs. Anyone wishing to bundle the package with a shareware product must use the commercial bundling rules. Any bundling with books, magazines or other print media should also use the commercial rules.
You must notify us that you are distributing POV-Ray and must provide us with information on how to contact you should any support issues arise.
No more than five dollars U.S. ($5) can be charged per disk for the copying of this software and the media it is provided on. Space on each disk must be used as fully as possible. You may not spread the files over more disks than are necessary.
Distribution on high volume media such as backup tape or CD-ROM is permitted if the total cost to the user is no more than $0.08 U.S. dollars per megabyte of data. For example a CD-ROM with 600 meg could cost no more than $48.00.
The archives must all be easily available on the service and should be grouped together in a similar on-line area.
It is strongly requested that sites remove prior versions of POV-Ray to avoid user confusion and simplify or minimize our support efforts.
The site may only charge standard usage rates for the downloading of this software. A premium may not be charged for this package. I. e. CompuServe or America On-Line may make these archives available to their users, but they may only charge regular usage rates for the time required to download.
Fees or charges, if any, for such services must be for connect time, storage or processor usage ONLY. No premium charges may be assessed for use of POV-Ray beyond that charged for use of other software. Users must be clearly notified that they are being charged for use of the computer and not for use of POV-Ray software.
Users must be prominently informed that they are using POV-Ray software, that such software is free, and where they can find official POV-Ray software. Any attempt to obscure the fact that the user is running POV-Ray is expressly prohibited.
All files normally available in a full package distribution, especially a copy of this license and full documentation must be available for download or readable online so that users of an online executable have access to all of the material of a full user package.
If the POV-Ray software has been modified in any way, it must also follow the provisions for custom versions below.